package cn.edu.imau.zy.system.feign;

import cn.edu.imau.zy.common.constant.ServiceNameConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 参数 Feign服务层
 */
@FeignClient(name = ServiceNameConstants.SYSTEM_SERVICE)
public interface RemoteConfigService {
    /**
     * 获取参数详情
     */
    @GetMapping("config/getByKey/{key}")
    String selectConfigByKey(@PathVariable("key") String key);
}
